package com.heima.model.wemedia.dtos;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class NewsDate {

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    Date beginDate;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    Date endDate;
}
